//
//  Student.m
//  OCDemo
//
//  Created by zhumuzhi on 2021/6/22.
//

#import "Student.h"


@interface Student ()


@end

@implementation Student

- (Student * _Nonnull (^)(NSString * _Nonnull))per_name {
    return ^Student * (NSString *name) {
        self.name = name;
        return self;
    };
}

- (Student * _Nonnull (^)(int))per_tall {
    return ^Student *(int tall) {
        self.tall = tall;
        return self;
    };
}
 
- (Student * _Nonnull (^)(int))per_age {
    return ^Student *(int age) {
        self.age = age;
        return self;
    };
}

- (Student * _Nonnull (^)(CGSize))per_size {
    return ^Student *(CGSize size) {
        self.size = size;
        return self;
    };
}

- (Student * _Nonnull (^)(void))per_run {
    return ^Student * (void) {
        NSLog(@"%@在跑步", self->_name);
        return self;
    };
}


@end
